package zl9.com;

/**
 * Created with Intellij IDEA.
 * Description:
 * User:张蕾
 * Date:2023-06-07
 * Time:1:01
 */
public class Jx {
    double weight;
    double len;
    double area;

 double getArea() {
        return area =len*weight ;
    }

    double getWeight() {
        return weight;
    }

   void setWeight(double weight) {
        this.weight = weight;
    }

    double getLen() {
        return len;
    }

     void setLen(double len) {
        this.len = len;
    }
}
